package se.teamstat.client.service.player;

import java.util.List;

import se.teamstat.client.dto.PlayerDTO;
import se.teamstat.client.service.MainServiceAsync;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PlayerServiceAsync extends MainServiceAsync<PlayerDTO> {
	public void save(PlayerDTO player, AsyncCallback<PlayerDTO> callback);
	public void getAll(AsyncCallback<List<PlayerDTO>> callback);
	public void update(PlayerDTO object, AsyncCallback<Void> callback);
}